namespace Admin.NET.Application;

public class MtertExcel : ElectricMeter
{
	public string RoomName { get; set; }

	public string PriceName { get; set; }

	public string LabelName { get; set; }

	/// <summary>
	/// 信号状态：0离线，1在线
	/// </summary>
	public string SignalStatusName
	{
		get
		{
			string result = "";
			switch (base.SignalStatus)
			{
			case 0:
				result = "离线";
				break;
			case 1:
				result = "在线";
				break;
			}
			return result;
		}
	}

	/// <summary>
	/// 电闸状态/通电状态，0断电，1通电
	/// </summary>
	public string GateStatusName
	{
		get
		{
			string result = "";
			switch (base.GateStatus)
			{
			case 0:
				result = "拉闸";
				break;
			case 1:
				result = "合闸";
				break;
			}
			return result;
		}
	}

	/// <summary>
	/// 下发状态，0未下发，1下发中，2下发成功，3下发失败
	/// </summary>
	public string IssuedStatusName
	{
		get
		{
			string result = "";
			switch (base.IssuedStatus)
			{
			case 0:
				result = "未下发";
				break;
			case 1:
				result = "下发中";
				break;
			case 2:
				result = "下发成功";
				break;
			case 3:
				result = "下发失败";
				break;
			}
			return result;
		}
	}
}
